package com.dxysun.design.responsiblity;

public class Main
{
	public static void main(String[] args)
	{
		ConcreteHandlerA concreteHandlerA = new ConcreteHandlerA();
		ConcreteHandlerB concreteHandlerB = new ConcreteHandlerB();
		concreteHandlerA.setNextHandler(concreteHandlerB);
		concreteHandlerA.handlerRequest("req");
	}
}
